package com.emagic.manage.data.datasource;

import com.emagic.manage.data.db.entry.DaoMaster;
import com.emagic.manage.data.entities.response.Empty;
import com.emagic.manage.data.entities.response.OutOffResponse;
import com.emagic.manage.data.entities.response.RoomsResponse;
import com.emagic.manage.data.entities.response.UserResponse;

import java.util.Map;

import javax.inject.Inject;
import javax.inject.Singleton;

import rx.Observable;

/**
 * TODO 描述该文件做什么
 *
 * @author baoy
 * @version 1.0
 *          Create by 16/1/12 上午10:30
 */
@Singleton
public class DBDataSource implements DataSource {

    private final DaoMaster mDaoMaster;

    @Inject
    public DBDataSource(DaoMaster mDaoMaster) {
        this.mDaoMaster = mDaoMaster;
    }

    @Override
    public Observable<UserResponse> loginapi(String phone, String pwd, String cidentifier,
                                             String alias) {
        return null;
    }

    @Override
    public Observable<RoomsResponse> getallroom(String userid) {
        return null;
    }

    @Override
    public Observable<OutOffResponse> logOut(String userid, String sessionid) {
        return null;
    }

    @Override
    public Observable<OutOffResponse> getroom(String serial) {
        return null;
    }

    @Override
    public Observable<Empty> sendgift(String serial, String sendid, String sendname, Map studios) {
        return null;
    }

}
